Patch generated 20071215 by Phillip Warner <pc_warner@yahoo.com>
Permission granted to use this patch as you see fit.

--- Makefile.orig	2007-12-15 00:22:34.000000000 -0600
+++ Makefile		2007-12-15 00:15:13.000000000 -0600
@@ -39,6 +39,7 @@
 	mkdir -p $(PIDDIR)
 	mkdir -p $(MANDIR)
 	mkdir -p $(DOCDIR)
+	mkdir -p $(PKGDIR)/etc/pam.d
 	make -C vnc install
 	make -C libxrdp install
 	make -C xrdp install
@@ -46,7 +47,7 @@
 	make -C sesman install
 	make -C xup install
 	make -C docs install
-	if [ -d /etc/pam.d ]; then install instfiles/pam.d/sesman /etc/pam.d/sesman; fi
+	install instfiles/pam.d/sesman $(PKGDIR)/etc/pam.d/sesman
 	install instfiles/xrdp_control.sh $(DESTDIR)/xrdp_control.sh
 
 installdeb:
